<?php
class ProjectMapper implements IDataMapper {
	
	public function mapRow($row) {
		$projectDto = new ProjectDto();
		$projectDto->setId($row['id']);
		$projectDto->setName($row['name']);
		$projectDto->setCreationDate($row['creationDate']);
		$projectDto->setArchState($row['archstate']);
		$projectDto->setOrderId($row['order_id']);
		$projectDto->setArchStateChangeDate($row['archStateChangeDate']);
		return $projectDto;
	}
}

?>
